/*
 * @Author: your name
 * @Date: 2021-08-02 01:30:11
 * @LastEditTime: 2024-07-10 14:00:57
 * @LastEditors: 耿琼琼 1342180668@qq.com
 * @Description: In User Settings Edit
 * @FilePath: \aircityinit\src\tools\Event.js
 */
// import {useDialogStore} from "@/stores/dialog";



const currentHighLightObj = {
  tileId: "",
  actorId: "",
};
const OnEvent = async (e: {
  eventtype: string;
  PropertyName?: string;
  UserData?: string;
  ObjectID?: string;
  Id?: string;
  GroupID?: string;
  MouseClickPoint?: number[];
  Type?: string;
}) => {
  // const Router = useRouter();
  // 判断是否为左键点击的交互
  if (e.eventtype === "LeftMouseButtonClick") {
    console.log(e, "LeftMouseButtonClick");
    // BuildEvent(e);
  }
  if (e.eventtype === "CameraTourFinished") {
    console.log("导览播放结束",e);
  }
  
};

export default OnEvent;

